﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AgentList.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.MarketModel.AgentList" %>


<form id="pagerForm" method="post" action="MarketModel/AgentList.aspx">
<input type="hidden" name="AliasName" value="<%=AliasName %>" />
<input type="hidden" name="orderField" value="<%=orderField %>" />
<input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
<input type="hidden" name="pageNum" value="1" />
<input type="hidden" name="numPerPage" value="<%=numPerPage %>" />
</form>
<form id="form1" runat="server" method="post" action="MarketModel/AgentList.aspx" onsubmit="return navTabSearch(this);">
<div class="pageHeader">
    <div class="searchBar">
        <table class="searchContent">
            <tr>               
                <td>
                    经销商名称： 
                </td>
                <td>
                   <input name="AliasName" type="text" value="<%=AliasName %>"  />
                </td>
            </tr>
        </table>
        <div class="subBar">
            <ul>
                <li>
                    <div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
                </li>
            </ul>
        </div>
    </div>
</div>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
           <% if (HasPower(IHISCETeim.Web.Permission.修改))
              {%>
            <li><a class="edit" href="MarketModel/AgentEdit.aspx?CardCode={sid_user}" rel="AgentEdit" target="dialog" title="修改" max=false  mask=true  maxable=false  minable=false  resizable=false drawable=true  width="520" height="300" ><span>修改</span></a></li>
          <%} %>
        </ul>
    </div>
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="1000" layouth="138">
        <thead>
            <tr  >          
                <th width="60">地址</th>
                <th width="130">
                    经销商全称
                </th>                
                <th  width="100" orderField="AliasName" class="asc">
                    简称
                </th>
                 <th width="150">
                    开户行
                </th>
                <th>
                    帐号
                </th>
                <th>
                    国税编号
                </th>
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" rel="<%# Eval("CardCode") %>">
                <td><a class="btnAdressMang" href="MarketModel/MAgentAddressList.aspx?CardCode=<%# Eval("CardCode")%>" rel="MAgentAddressList" target="navTab" title="[<%# Eval("CardName")%>]地址列表" max=false  mask=true  maxable=false  minable=false  resizable=false drawable=true  width="720" height="400" >  地址管理 </a></td>
				<td><%# Eval("CardName")%></td>
				<td><%# Eval("AliasName")%></td>
                <td><%# Eval("Banks")%></td>
                <td><%# Eval("Account")%></td>
                <td><%# Eval("VatIdUnCmp")%></td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
    <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
               <%=SetnumPerPage() %>
            </select>
            <span>条，共<%=TotalCount%>条</span>
        </div>
        <div class="pagination" targettype="navTab" totalcount="<%=TotalCount%>" numperpage="<%=numPerPage %>"
            pagenumshown="10" currentpage="<%=pageNum %>">
        </div>
    </div>
</div>
</form>
